package ija.model.players;

import ija.model.types.FigureColor;
import ija.model.types.FigureDirection;

/**
 * 
 * @author Radek Necas, xnecas18
 */
public class LocalPlayer extends Player {

	public LocalPlayer() {
		super();
	}

	public LocalPlayer(String name, FigureColor color, FigureDirection direction) {
		super(name, color, direction);
	}

	@Override
	public void copyFrom(Player p) {
		super.copyFrom(p);
		if (p instanceof LocalPlayer) {

		}
	}

	@Override
	public String toString() {
		String s = super.toString();
		s += "Type: LocalPlayer";
		return s;
	}

	@Override
	public LocalPlayer duplicate() {
		LocalPlayer p = new LocalPlayer();
		p.copyFrom(this);
		return p;
	}

}
